<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
		<link rel="stylesheet" type="text/css" href="css/tabsheets.css" />
		<link rel="stylesheet" type="text/css" href="css/header.css" />
		<script type="text/javascript" src="javascript/tabsheets.js"></script>
</head>
<body>

<!-- HEADER-BEGIN -->
<table border=0 width=100% id="header">
	<tr>
		<td id="logo">
			<div align="center">
				<table width=85% border=0 cellpadding=30 id="epam">
					<tr>
						<td><span id="title">EPAM Training Portal</span></td>
						<td align=center>
							<s:form action="login" method="post">
								<table id="login_table">
									<tr>
										<td align=right><span id="title_little">Email:</span></td>
										<td><s:textfield name="login" size="20"/></td>
										<td rowspan=2 style="valign:middle;">
											<s:submit value="Login"/></td>
									</tr>
									<tr>
										<td align=right><span id="title_little">Password:</span></td>
										<td><s:password name="password" size="20"/></td>
									</tr>
								</table>
							</s:form>
						</td>
					</tr>
				</table>
			</div>	
		</td>
	</tr>
	<tr>
		<td>
			<div aling="center">
				<table width=85% border=0 id="table-menu">
					<tr>
						<td>
							<div id="css-menu">
								<ul>
									<li><a href="<s:url action='index'/>">Home</a></li>
									<li><a href="<s:url action='register-form'/>">Student</a></li>
								</ul>
							</div>
						</td>
					</tr>
				</table>
			</div>	
		</td>
	</tr>
</table>
<!-- HEADER-END -->

<!-- CONTENT-BEGIN -->

<div style="background: #eeeeee; padding: 0em;">
	<div align="center">
	<s:form action="register-user">
	    <table id="table_register"><tr><td>
		<s:form action="upload-form" method="post">	
		<h3 align=center>Register for Course</h3>
		<table cellspacing=10 border=0 width=100%>
			<tr><td>Training Course</td><td><s:select list="courseList" name="course"/></td></tr>
			<tr><td>First Name</td><td><s:textfield name="firstname" size="26"/></td></tr>
			<tr><td>Last Name</td><td><s:textfield name="lastname" size="26"/></td></tr>
			<tr><td>Date of Birth</td><td><s:textfield name="dateofbirth" size="26"/></td></tr>
			<tr><td>Email</td><td><s:textfield name="email" size="26"/></td></tr>
			<tr><td>Contact phone</td><td><s:textfield name="phone" size="26"/></td></tr>
			<tr><td>Education</td><td><s:select list="educationList" name="education"/></td></tr>
	 	    <tr><td>Graduation Year</td><td><s:textfield name="graduationyear" size="26"/></td></tr>	
			<tr><td>Place of Employment or Study</td><td><s:textarea name="placeofstudy" cols="20" rows="4"/></td></tr>
			<tr><td>Purpose of Going to the Training</td><td><s:textarea name="purposeofgoing" cols="20" rows="4"/></td></tr>
			<tr><td align=right><s:submit value="Register" align="center" /></td><td><s:reset value="Reset" align="center"/></td></tr>
		</table>
		</s:form>
	    </td></tr></table>
	</s:form>   
	</div>
</div>
<!-- CONTENT-END -->

</body>
</html>